const personalModel = require('../models/PersonalModel')

let personalController = {
    get_index: function (req, res) {
        personalModel.personal_show(req, res)
    },
    post_modify: function(req, res){
        personalModel.personal_modify(req, res)
    },
    get_personalarticleshow:function(req, res){
        personalModel.personalarticle_show(req, res)
    },
    post_personalarticledel:function(req, res){
        personalModel.personalarticle_del(req, res)
    },
    post_passwordmodify:function(req,res) {
        console.log(req.body);
        personalModel.personalpassword_modify(req, res)
    }

}

module.exports = personalController